/**
 * php API URL 定义
 * @author jeff liu
 */

/*
 * 商品相关API URL
 */

//获得商品详细信息
var GET_GOODS_DETAIL_API = '/apicomponent/php/index.php?app=goods&act=apiGetGoodsDetail';
//获得商品的销售记录
var GET_GOODS_SALE_LOG_API = '/apicomponent/php/index.php?app=goods&act=apiGetGoodsSaleLog';
//获得商品的价格
var GET_GOODS_PRICE_API = '/apicomponent/php/index.php?app=goods&act=apiGetGoodsPrice';
//获得商品的默认图片
var GET_GOODS_DEFAULT_IMG = '/apicomponent/php/index.php?app=goods&act=apiGetGoodsDefaultImg';
//获得商品的剩余库存量
var GET_GOODS_STOCK = '/apicomponent/php/index.php?app=goods&act=apiGetGoodsStock';
//获得商品已售库存量
var GET_GOODS_SELLED_STOCK = '/apicomponent/php/index.php?app=goods&act=apiGetGoodsSelledStock';
//获得商品待付款库存量
var GET_GOODS_WAITING_PAID_STOCK = '/apicomponent/php/index.php?app=goods&act=apiGetGoodsWaitingPaiedStock';
//获得商品名称
var GET_GOODS_NAME_API = '/apicomponent/php/index.php?app=goods&act=apiGetGoodsName';


/*
 * 货品相关API URL
 */
//获得商品某个特定规格的价格
var GET_PRODUCT_PRICE_API = '/apicomponent/php/index.php?app=goods_spec&act=apiGetProductPrice';
//获得商品某个特定规格的详细信息
var GET_PRODUCT_DETAIL_API = '/apicomponent/php/index.php?app=goods_spec&act=apiGetProductDetail';
//获得商品某个特定规格的库存量
var GET_PRODUCT_STOCK_API = '/apicomponent/php/index.php?app=goods_spec&act=apiGetProductStock';
//获得商品某个特定规格的SKU
var GET_PRODUCT_SKU_API = '/apicomponent/php/index.php?app=goods_spec&act=apiGetProductSku';
//获得商品某个特定规格的建议价格
var GET_PRODUCT_SUGGESTPRICE_API = '/apicomponent/php/index.php?app=goods_spec&act=apiGetProductSuggestPrice';
//获得商品某个特定规格的规格值
//（spec_1,spec_2,color_rgb）
var GET_PRODUCT_SPEC_API = '/apicomponent/php/index.php?app=goods_spec&act=apiGetProductSpec';
//获得商品所有的规格信息
var GET_PRODUCT_LIST_BY_GOODS_ID_API = '/apicomponent/php/index.php?app=goods_spec&act=apiGetProductListByGoodsId';


/*
 * 商品属性相关 API URL
 */
//获得商品某个特定属性的详细信息
var GET_GOODS_PRO_DETAIL = '/apicomponent/php/index.php?app=goods_pro&act=apiGetGoodsProDetail';
//获得商品所有的规格
var GET_GOODS_PRO_LIST_DETAIL = '/apicomponent/php/index.php?app=goods_pro&act=apiGetGoodsProListByGoodsId';

/**
 * 商品咨询相关 API URL
 */
//获得商品咨询
var GET_GOODS_QA_API = '/apicomponent/php/index.php?app=goods_qa&act=apiGetGoodsqa';
//获得商品咨询（带有分页信息）
var GET_GOODS_QA_WITH_PAGER_API = '/apicomponent/php/index.php?app=goods_qa&act=apiGetGoodsqaWithPager';

/**
 * 商品staticstics 属性
 */
//获得商品的热度
var GET_GOODS_HITS_API = '/apicomponent/php/index.php?app=goodsstatistics&act=apiGetGoodsHits';

